<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h2 class="page-header" style="margin-top: 20px;">展示管理</h2>

	<!-- 搜索 -->
	<form action="#" style="margin-bottom: 10px;">

		<div class="row">
			<div class="col-sm-4 col-xs-4">
				<input type="text" class="form-control" placeholder="商品类型">
			</div>
			<div class="col-sm-4 col-xs-4">
				<input type="text" class="form-control" placeholder="商品名字">
			</div>
			<div class="col-sm-4 col-xs-4 ">
				<button class="btn  btn-primary " type="submit">搜索</button>
			</div>
		</div>
	</form>
          <div class="table-responsive">
            <table class="table table-striped">
              <thead>
                <tr>
                  <th>序号</th>
                  <th>商品名字</th>
                  <th>商品价格</th>
                  <th>商品种类</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>
              <c:forEach items="${goods_show}" var="goods" varStatus="status">
                <tr>
                  <td>${status.index+1}</td>
                  <td >${goods.goods_name}</td>
                  <td>${goods.goods_price}</td>
                  <td>${goods.type_id}</td>

                  <td>

                  	<a onclick="delete_show(${goods.goods_id},${goods.goods_show_admin})" >删除</a>
                  </td>
                </tr>
              </c:forEach>
               
              </tbody>
            </table>
          </div>



</body>
</html>